
import { defineStore } from 'pinia'

export const useModuleStore = defineStore(
  'module',
  () => {
    const activeModuleIndex = ref(0)

    return { activeModuleIndex }
  },
  {
    persist: {
      paths: ['activeModuleIndex']
    }
  }
)
